package org.yzl.designPatterns.factorymethod.staticFactory;

/**
 * 静态工厂模式
 */
public class StaticFactoryTest {
    public static void main(String[] args) {
        ISender sender = SendFactory.produceMail();
        sender.send();
    }
}
